//
//  aboutPhone.h
//  Fish
//
//  Created by JL on 15/6/10.
//  Copyright (c) 2015年 zjtdmac3. All rights reserved.
//

#pragma mark 设备的基本参数
#define iphoneWidth [UIScreen mainScreen].bounds.size.width
#define iphoneHeight [UIScreen mainScreen].bounds.size.height
//屏幕宽度的比例，以320的为基本
#define ScreenWidthScale [UIScreen mainScreen].bounds.size.width/320
#define ScreenHeightScale [UIScreen mainScreen].bounds.size.height/480

//判断设备是否为iPhone5S
#define iPhone5S ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)
//判断设备是否为iPhone6
#define iPhone6 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(750, 1334), [[UIScreen mainScreen] currentMode].size) : NO)
//判断设备是否为iPhone6Plus
#define iPhone6Plus ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1080,1920), [[UIScreen mainScreen] currentMode].size) : NO)

//判断是否为空
#define NotNilString(A) A?A:@""
#define NotNullClass(A) [A isKindOfClass:[NSNull class]]||(A==nil)?@"":[NSString stringWithFormat:@"%@",A]

#pragma mark 常用的设置
//导航条颜色
#define NavBarTintColor ([UIColor colorWithRed:0.20f green:0.20f blue:0.24f alpha:1.00f])//([UIColor colorWithHexString:@"#33323d"])//
#define TabBarTintColor ([UIColor colorWithRed:0.99f green:0.45f blue:0.00f alpha:1.00f])

#define SkillOrDemandDefaultIma [UIImage imageNamed:@"图片加载中_2"]
#define UserHeadDefaultIma [UIImage imageNamed:@"userHead"]

#pragma mark 高德地图API
const static NSString *APIKey = @"a9af78514517a399d899f382c2e2ac23";

#pragma mark 个推的
#define QLGeTuiClientId @"QLGeTuiClientId"
static NSString * LaunchedByNotificationNotfication = @"LaunchedByNotificationNotfication";
// 当有消息推送是通知其他页面刷新页面
static NSString * ReceiveNewsNotfication = @"ReceiveNewsNotfication";

static NSString * Location_CityName = @"Location_CityName";
static NSString * Location_Address = @"Location_Address";
#pragma mark WechatPay and shared 微信分享和支付
//微信的私钥
static NSString * Private_Key = @"d65ac9c8f42540e6a97dc41a8a56d9fe";

static NSString * Wechat_SharedURL = @"http://shenyue.zqlwl.com/sy/share/share.html";
static NSString * Wechat_SharedTagName = @"WECHAT_TAG_JUMP_SHOWRANK";
static NSString * Wechat_SharedName = @"神约：产品之上的世界观";
static NSString * Wechat_SharedDescription = @"微信的平台化发展方向是否真的会让这个原本简洁的产品变得臃肿？在国际化发展方向上，微信面临的问题真的是文化差异壁垒吗？腾讯高级副总裁、微信产品负责人张小龙给出了自己的回复。";
static NSString * Wechat_SharedThumbImage = @"";

